package com.cncbox.entity;

import java.util.List;

/**
 * 文章表
 * Created by songs on 2016/3/31.
 */
public class Article {

    private Integer id;

    //标题名
    private String titleName;

    //一级分类
    private String oneClass;

    //二级分类
    private String twoClass;

    //内容
    private String content;

    //详细内容
    private String detailed;

    //当前状态
    private char thisState;

    //排序
    private Integer sorting;

    private List<Resource> resource;

    public Article() {
    }

    public Article(Integer id, String titleName, String oneClass, String twoClass, String content, String detailed, char thisState, Integer sorting, List<Resource> resource) {
        this.id = id;
        this.titleName = titleName;
        this.oneClass = oneClass;
        this.twoClass = twoClass;
        this.content = content;
        this.detailed = detailed;
        this.thisState = thisState;
        this.sorting = sorting;
        this.resource = resource;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getTitleName() {
        return titleName;
    }

    public void setTitleName(String titleName) {
        this.titleName = titleName;
    }

    public String getOneClass() {
        return oneClass;
    }

    public void setOneClass(String oneClass) {
        this.oneClass = oneClass;
    }

    public String getTwoClass() {
        return twoClass;
    }

    public void setTwoClass(String twoClass) {
        this.twoClass = twoClass;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getDetailed() {
        return detailed;
    }

    public void setDetailed(String detailed) {
        this.detailed = detailed;
    }

    public char getThisState() {
        return thisState;
    }

    public void setThisState(char thisState) {
        this.thisState = thisState;
    }

    public Integer getSorting() {
        return sorting;
    }

    public void setSorting(Integer sorting) {
        this.sorting = sorting;
    }

    public List<Resource> getResource() {
        return resource;
    }

    public void setResource(List<Resource> resource) {
        this.resource = resource;
    }
}
